<?php
    ////////////////////////////////////////////////////////////////////////////////
    // Database Servers
    define("DB_NORTHWIND","(local)\SQLEXPRESS");
    //define("FOO2",    "something else");
    //define("FOO_BAR", "something more");
    
    class DB
    {
        const MIN_VALUE = 0.0;      // RIGHT - Works INSIDE of a class definition.
        const MAX_VALUE = 1.0;      // RIGHT - Works INSIDE of a class definition.
  
        public static function ServerName($databaseName)
        {
            switch (strtoupper($databaseName)) {
                case "NORTHWIND":
                    return "(local)\SQLEXPRESS";
                    break;
            }
        }
        
        public static function ConnectionInfo($databaseName)
        {
            switch (strtoupper($databaseName)) {
                case "NORTHWIND":
                    return array("UID"=>"dbadmin", "PWD"=>"password", "Database"=>"Northwind");
                    break;
            }

            
        }
    }
?>